package com.dragon.codefx.dataBase.dao;

import com.dragon.codefx.dataBase.entity.SchemaTableConfigEntity;
import com.dragon.common.JpaDao;
import com.dragon.util.DaoModify;

/**
 * 表配置 Dao 接口
 *
 * @author lsc
 * @version V1.0
 * @date 2025-6-23
 */
public interface SchemaTableConfigDao extends JpaDao<SchemaTableConfigEntity, Integer> {

    SchemaTableConfigEntity findOneById(Integer id);

    @DaoModify
    void deleteBySchemaNameAndTableName(String schemaName, String tableName);

    SchemaTableConfigEntity findOneBySchemaNameAndTableName(String schemaName, String tableName);

}